package com.lw.yygh.hosp.service;

import com.lw.yygh.model.hosp.Schedule;
import com.lw.yygh.model.order.OrderMqVo;
import com.lw.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void save(Map<String, Object> map);

    Page<Schedule> findAll(Map<String, Object> map);

    void remove(Map<String, Object> map);

    Map<String, Object> getScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

    Map<String,Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    void update(OrderMqVo orderMqVo);

    void updateSchedule(String scheduleId);
}
